<?php
    $title              = $this->formText('title', $this->Item['title'], array('class'=>'txtmedium', 'style'=>'width:89%'));
    $title_vi           = $this->formText('title_vi', $this->Item['title_vi'], array('class'=>'txtmedium', 'style'=>'width:89%'));
    $options 		= array('Inactive', 'Active');
    $status 		= $this->formRadio('status', $this->Item['status'], null, $options, '');
    $order 		= $this->formText('order', $this->Item['order'], array('class'=>'short'));
    $content		= $this->cmsReplaceString($this->Item['content']);
    $content            = $this->cmsEditor('content', $content, array('toolbar'=>'Default', 'language'=>'en'));
    
    $content_vi		= $this->cmsReplaceString($this->Item['content_vi']);
    $content_vi         = $this->cmsEditor('content_vi', $content_vi, array('toolbar'=>'Default', 'language'=>'en'));
?>
<div id="content-box">
            <div class="border">
                <div class="padding">

                    <form name="appForm" method="post" action="">
                        <?php echo $this->render('faq/toolbar/index.php');?>
						<div class="clr"></div>
						<?php echo $this->render('faq/sublink/index.php');?>

                        <!-- BEGIN: CONTENT -->
                        <div id="element-box">
                            <div class="t">
                                <div class="t">
                                    <div class="t"></div>
                                </div>
                            </div>
                            <div class="m">
                                <!-- BEGIN: ELEMENT BOX -->
                                <div id="adminfieldset">
                                    <div class="adminheader">Detail</div>
                                    
                                    <div id="row">
                                        <div class="label">Title</div>
                                        <!-- <input type="text" name="code" id="code" value="" class="txtshort"> -->
                                        <?php echo $title;?>
                                    </div>
                                    <div id="row">
                                        <div class="label">Content</div>
                                        <!-- <input type="text" name="code" id="code" value="" class="txtshort"> -->
                                        <div style="width: 90.3%; float: right"><?php echo $content;?></div>
                                    </div>
                                    <div class="clr"></div>
                                    <div id="row">
                                        <div class="label">Title Vietnamese</div>
                                        <!-- <input type="text" name="code" id="code" value="" class="txtshort"> -->
                                        <?php echo $title_vi;?>
                                    </div>
                                    <div class="clr"></div>
                                    <div id="row">
                                        <div class="label">Content Vietnamese</div>
                                        <!-- <input type="text" name="code" id="code" value="" class="txtshort"> -->
                                        <div style="width: 90.3%; float: right"><?php echo $content_vi;?></div>
                                    </div>
                                    <div class="clr"></div>
                                    <div id="row">
                                        <div class="label">Status:</div>
                                        <?php echo $status;?>
                                    </div>
                                    <div class="clr"></div>
                                    
                                    <div id="row">
                                        <div class="label">Ordering:</div>
                                        <?php echo $order;?>
                                    </div>
                                    <div class="clr"></div>
                                    
                                </div>
                                <!-- END: ELEMENT BOX -->	
                              	<div class="clr"></div>
                            </div>
                            <div class="b">
                                <div class="b">
                                    <div class="b"></div>
                                </div>
                            </div>
                        </div>
                        <!-- END: 	CONTENT -->
                    </form>


                    <div class="clr"></div>
                </div>
                <div class="clr"></div>
            </div>
        </div>